package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

/**
 * @Author: 邓宇昂
 * @Description: TODO
 * @DateTime: 22/05/30/0030 下午 12:06
 * @Component: 成都蜗牛学苑
 **/
public interface ProductService {
    Product addOne(Product product);

    ResponseEntity findOneById(Integer pid);

    ResponseEntity update(Product product);

    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
